<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>

</head>
<body>
<div class="wrap js-check-wrap">


    <form action="{:url('order/addPostalls')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">

              <input class="form-control" type="hidden" name="id" value="{$info.id}" />
                    <tr>
                        <th class="col-md-1">收件人<span class="form-required">*</span></th>
                        <td>
                            <input class="form-control" type="text" name="name" value="{$info.name}" required placeholder="请输入"/>
                        </td>
                    </tr>

                    <tr>
                        <th class="col-md-1">快递单号<span class="form-required">*</span></th>
                        <td>
                            <input class="form-control" type="text" name="kdnum" value="{$info.kdnum}" required placeholder="请输入"/>
                        </td>
                    </tr>



                    <tr>
                        <th class="col-md-1">状态<span class="form-required">*</span></th>
                        <td>
                            <select class="form-control" name="goods"   id="input-goods">


                                <volist name="goods" id="good">

                                    <option value="{$good}" <if condition="$info['goods'] eq $good">selected </if>>{$good}</option>

                                </volist>

                            </select>
                        </td>
                    </tr>



                     <tr>
                        <th class="col-md-1">地址<span class="form-required">*</span></th>
                        <td>
                                  <input type="text" class="form-control" name="address" value="{$info.address}" autocomplete="off">
                        </td>
                    </tr>

                         <tr>
                        <th class="col-md-1">状态<span class="form-required">*</span></th>
                        <td>
                                  <select class="form-control" name="status"   id="input-site_admin_theme">

                                    <option value="0" <if condition="$info['status'] neq 1"> selected </if>>未入库</option>
                               
                                    <option value="1" <if condition="$info['status'] eq 1">selected </if>>已入库</option>
                            </select>
                        </td>
                    </tr>

                    </tr>

                    <tr>
                        <th class="col-md-1">支付<span class="form-required">*</span></th>
                        <td>
                            <select class="form-control" name="zf"   id="">

                                <option value="1" <if condition="$info['zf'] eq 1"> selected </if>>代付</option>

                                <option value="0" <if condition="$info['zf'] eq 0">selected </if>>自付</option>
                            </select>
                        </td>
                    </tr>

                     <tr>
                        <th class="col-md-1">出库时间<span class="form-required">*</span></th>
                        <td>
                                  <input type="text" class="form-control js-bootstrap-datetime" name="chukutime" value="{$info.chukutime}" autocomplete="off">
                        </td>
                    </tr>
                    
                    <tr>
                        <th class="col-md-1">出库地址<span class="form-required">*</span></th>
                        <td>
                                  <input type="text" class="form-control " name="chuadd" value="{$info.chuadd}" autocomplete="off">
                        </td>
                    </tr>
                    
                        <tr>
                        <th class="col-md-1">出库单号<span class="form-required">*</span></th>
                        <td>
                        <input type="text" class="form-control " name="chuorder" value="{$info.chuorder}" autocomplete="off">
                        </td>
                    </tr>

                    <tr>
                        <th class="col-md-1">回款时间<span class="form-required">*</span></th>
                        <td>
                            <input type="text" class="form-control js-bootstrap-datetime" name="huikuantime" value="{$info.huikuantime}" autocomplete="off">
                        </td>
                    </tr>

                    </tr>

                    <tr>
                        <th class="col-md-1">回款金额<span class="form-required">*</span></th>
                        <td>
                            <input type="text" class="form-control " name="huikuanmoney" value="{$info.huikuanmoney}" autocomplete="off">
                        </td>
                    </tr>


                </table>

                <hook name="portal_admin_article_edit_view_main"/>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">修 改</button>
   
                    </div>
                </div>
            </div>

        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    //编辑器路径定义
    var editorURL = GV.WEB_ROOT;
</script>
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
    $(function () {

        editorcontent = new baidu.editor.ui.Editor();
        editorcontent.render('content');
        try {
            editorcontent.sync();
        } catch (err) {
        }

        $('.btn-cancel-thumbnail').click(function () {
            $('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
            $('#thumbnail').val('');
        });

    });


</script>
</body>
</html>
